MPHB\Payments\Gateways\Gateway B

Total Complexity 84
Dependencies 6
Dependents 1
Total lines 577
Lines of code 279
Logical lines of code 140
Comment lines 208
Methods 36
Properties 13

Methods 36

Method Rating Maintainability Complexity Lines of code
parsePaymentFields()
B
43 22 42
renderField()
A
52 8 21
renderFieldWrapper()
S
50 5 32
registerOptionsFields()
S
44 3 47
setupPaymentFields()
S
62 6 10
storePaymentFields()
S
65 3 8
isActive()
S
80 2 3
getOption()
S
64 2 9
getDefaultOption()
S
78 2 3
register()
S
74 2 5
getMode()
S
80 2 3
renderPaymentFields()
S
71 2 5
generateItemName()
S
68 2 7
__construct()
S
66 1 8
isShowOptions()
S
82 1 3
getId()
S
82 1 3
getAdminTitle()
S
82 1 3
getAdminDescription()
S
82 1 3
getTitle()
S
82 1 3
getInstructions()
S
82 1 3
isEnabled()
S
82 1 3
getDescription()
S
82 1 3
initDefaultOptions()
S
66 1 9
setupProperties()
S
68 1 7
initId()
S
100 1 0
initPaymentFields()
S
82 1 3
preRegister()
S
79 1 3
processPayment()
S
100 1 0
paymentCompleted()
S
80 1 3
paymentFailed()
S
80 1 3
paymentOnHold()
S
80 1 3
paymentRefunded()
S
80 1 3
isSandbox()
S
82 1 3
getCheckoutData()
S
71 1 6
hasPaymentFields()
S
80 1 3
hasVisiblePaymentFields()
S
70 1 6